-- Chinese translations by digmouse of WoWInterface


if ( GetLocale() == "zhCN" ) then

MACAROON_STRINGS = {

        TITLE = "Macaroon!",
        DESC = "毫无限制和障碍的宏动作按钮插件",

	SLASH1 = "/macaroon",
	SLASH2 = "/mac",

	SLASH_COMMAND_1 = "menu",
	SLASH_COMMAND_1_DESC = "打开主菜单",
	SLASH_COMMAND_1_FUNC = "OpenMainMenu", -- 函数调用指向，请不要翻译，保持原英文

	SLASH_COMMAND_2 = "create",
	SLASH_COMMAND_2_DESC = "创建空白动作条",
	SLASH_COMMAND_2_FUNC = "CreateNewBar", -- 函数调用指向，请不要翻译，保持原英文

	SLASH_COMMAND_3 = "delete",
	SLASH_COMMAND_3_DESC = "删除当前选中的动作条",
	SLASH_COMMAND_3_FUNC = "DeleteBar", -- 函数调用指向，请不要翻译，保持原英文

	SLASH_COMMAND_4 = "config",
	SLASH_COMMAND_4_DESC = "打开所有动作条的设置模式",
	SLASH_COMMAND_4_FUNC = "ConfigBars", -- 函数调用指向，请不要翻译，保持原英文

	SLASH_COMMAND_5 = "add",
	SLASH_COMMAND_5_DESC = "向当前选中的动作条添加空按钮（add或add 数量）",
	SLASH_COMMAND_5_FUNC = "AddButton", -- 函数调用指向，请不要翻译，保持原英文

	SLASH_COMMAND_6 = "remove",
	SLASH_COMMAND_6_DESC = "从当前选中的动作条上移除按钮（remove或remove 数量）",
	SLASH_COMMAND_6_FUNC = "RemoveButton", -- 函数调用指向，请不要翻译，保持原英文

	SLASH_COMMAND_7 = "edit",
	SLASH_COMMAND_7_DESC = "打开按钮编辑模式",
	SLASH_COMMAND_7_FUNC = "ButtonEdit", -- 函数调用指向，请不要翻译，保持原英文

	SLASH_COMMAND_8 = "bind",
	SLASH_COMMAND_8_DESC = "打开按键绑定模式",
	SLASH_COMMAND_8_FUNC = "ButtonBind", -- 函数调用指向，请不要翻译，保持原英文

	SLASH_COMMAND_9 = "scale",
	SLASH_COMMAND_9_DESC = "缩放动作条到指定大小",
	SLASH_COMMAND_9_FUNC = "ScaleBar", -- 函数调用指向，请不要翻译，保持原英文

	SLASH_COMMAND_10 = "snapto",
	SLASH_COMMAND_10_DESC = "当前动作条启用粘附",
	SLASH_COMMAND_10_FUNC = "SnapToBar",	 -- 函数调用指向，请不要翻译，保持原英文

	SLASH_COMMAND_11 = "autohide",
	SLASH_COMMAND_11_DESC = "当前动作条启用自动隐藏",
	SLASH_COMMAND_11_FUNC = "AutohideBar",	 -- 函数调用指向，请不要翻译，保持原英文

	SLASH_COMMAND_12 = "hidden",
	SLASH_COMMAND_12_DESC = "当前动作条显示或隐藏",
	SLASH_COMMAND_12_FUNC = "HideBar",	 -- 函数调用指向，请不要翻译，保持原英文

	SLASH_COMMAND_13 = "shape",
	SLASH_COMMAND_13_DESC = "当前动作条形状",
	SLASH_COMMAND_13_FUNC = "ShapeBar",	 -- 函数调用指向，请不要翻译，保持原英文

	SLASH_COMMAND_14 = "name",
	SLASH_COMMAND_14_DESC = "当前动作条名称",
	SLASH_COMMAND_14_FUNC = "NameBar",	 -- 函数调用指向，请不要翻译，保持原英文

	SLASH_COMMAND_15 = "strata",
	SLASH_COMMAND_15_DESC = "当前动作条框体层级",
	SLASH_COMMAND_15_FUNC = "StrataSet",	 -- 函数调用指向，请不要翻译，保持原英文

	SLASH_COMMAND_16 = "alpha",
	SLASH_COMMAND_16_DESC = "调整当前动作条透明度",
	SLASH_COMMAND_16_FUNC = "AlphaSet",	 -- 函数调用指向，请不要翻译，保持原英文

	SLASH_COMMAND_17 = "alphaup",
	SLASH_COMMAND_17_DESC = "设置当前动作条为“条件透明”",
	SLASH_COMMAND_17_FUNC = "AlphaUpSet",	 -- 函数调用指向，请不要翻译，保持原英文

	SLASH_COMMAND_18 = "arcstart",
	SLASH_COMMAND_18_DESC = "设置动作条弧形起始点（度）",
	SLASH_COMMAND_18_FUNC = "ArcStartSet",	 -- 函数调用指向，请不要翻译，保持原英文

	SLASH_COMMAND_19 = "arclen",
	SLASH_COMMAND_19_DESC = "设置动作条弧长（度）",
	SLASH_COMMAND_19_FUNC = "ArcLengthSet",	 -- 函数调用指向，请不要翻译，保持原英文

	SLASH_COMMAND_20 = "columns",
	SLASH_COMMAND_20_DESC = "设置动作条列数（多列动作条）",
	SLASH_COMMAND_20_FUNC = "ColumnsSet",	 -- 函数调用指向，请不要翻译，保持原英文

	SLASH_COMMAND_21 = "padh",
	SLASH_COMMAND_21_DESC = "设置当前动作条水平间距",
	SLASH_COMMAND_21_FUNC = "PadHSet",	 -- 函数调用指向，请不要翻译，保持原英文

	SLASH_COMMAND_22 = "padv",
	SLASH_COMMAND_22_DESC = "设置当前动作条垂直间距",
	SLASH_COMMAND_22_FUNC = "PadVSet",	 -- 函数调用指向，请不要翻译，保持原英文

	SLASH_COMMAND_23 = "padhv",
	SLASH_COMMAND_23_DESC = "同时调整当前动作条的垂直和水平间距",
	SLASH_COMMAND_23_FUNC = "PadHVSet",	 -- 函数调用指向，请不要翻译，保持原英文

	SLASH_COMMAND_24 = "showgrid",
	SLASH_COMMAND_24_DESC = "当前动作条显示空格",
	SLASH_COMMAND_24_FUNC = "ShowgridSet",	 -- 函数调用指向，请不要翻译，保持原英文

	SLASH_COMMAND_25 = "x",
	SLASH_COMMAND_25_DESC = "设置当前动作条垂直位置",
	SLASH_COMMAND_25_FUNC = "XAxisSet",	 -- 函数调用指向，请不要翻译，保持原英文

	SLASH_COMMAND_26 = "y",
	SLASH_COMMAND_26_DESC = "设置当前动作条水平位置",
	SLASH_COMMAND_26_FUNC = "YAxisSet",	 -- 函数调用指向，请不要翻译，保持原英文

	SLASH_COMMAND_27 = "state",
	SLASH_COMMAND_27_DESC = "设置当前动作条的条件状态（/mac state <状态>）。输入/mac statelist可以查看可用状态名",
	SLASH_COMMAND_27_FUNC = "SetBarStates",	 -- 函数调用指向，请不要翻译，保持原英文

	SLASH_COMMAND_28 = "statelist",
	SLASH_COMMAND_28_DESC = "列出可用状态",
	SLASH_COMMAND_28_FUNC = "PrintStateList",	 -- 函数调用指向，请不要翻译，保持原英文

	SLASH_COMMAND_29 = "lock",
	SLASH_COMMAND_29_DESC = "启用动作按钮锁定",
	SLASH_COMMAND_29_FUNC = "ButtonLock",	 -- 函数调用指向，请不要翻译，保持原英文

	SLASH_COMMAND_30 = "load",
	SLASH_COMMAND_30_DESC = "加载配置文件",
	SLASH_COMMAND_30_FUNC = "LoadFromProfile",	 -- 函数调用指向，请不要翻译，保持原英文

	SLASH_HINT1 = "\n/macaroon或/mac |cff00ff00<命令>|r",
	SLASH_HINT2 = "\n命令列表 -\n",

	BAR_SNAPTO_DISABLED = "粘附已禁用 -> ",
	BAR_SNAPTO_ENABLED = "粘附已启用 -> ",
	BAR_SHOWGRID_DISABLED = "显示空格启用 ->",
	BAR_SHOWGRID_ENABLED = "显示空格禁用 ->",
	BAR_HIDDEN_DISABLED	= "当前动作条显示",
	BAR_HIDDEN_ENABLED	= "当前动作条隐藏",
	BAR_SHAPES = "\n1=水平\n2=垂直\n3=多栏\n4=圆形\n5=圆形+1",
	BAR_STRATAS = "\n1=背景层\n2=低\n3=中\n4=高\n5=对话框",
	BAR_ALPHA = "透明度值需介于0和1",
	BAR_ARCSTART = "弧起点需介于0和359",
	BAR_ARCLENGTH = "弧长度需介于0和359",
	BAR_COLUMNS = "输入该动作条栏数（大于0）",
	BAR_PADH = "输入水平方向按钮间距值",
	BAR_PADV = "输入垂直方向按钮间距值",
	BAR_PADHV = "输入水平和垂直方向按钮间距值",

	INVALID_CHOICE = "无效选择",
	INVALID_STATE = "无效动作条状态",
	NO_BAR_SELECTED = "未选择动作条",

	OPT1 = "参数1：",
	VALUE = "值：",
	APPLY = "应用",
	COPY = "复制",
	DONE = "完成",
	DELETE = "删除",
	CHARGES = "数量",

	CREATE_BUTTON = "创建按钮",
	DELETE_BUTTON = "删除按钮",

	MACRO_EDIT = "宏命令编辑器",
	MACRO_NAME = "-宏名称-",
	MACRO_MASTER = "宏制作大师",
	MACRO_EDITNOTE = "点击这里编辑宏说明",
	MACRO_ICON = "点击这里选择图标",
	MACRO_EXPAND = "扩大",
	ACTION_EDIT = "动作ID编辑器",
	ACTION_PROP = "传递动作ID到动作条",

	BUTTON_OPTIONS = "按钮选项",

	CLICK_ANCHOR = "点击锚点",
	MOUSE_ANCHOR = "鼠标锚点",
	ANCHOR_DELAY = "延迟：",

	BTNOPTION_EDIT_BUTTON_1 = "缩放",
	BTNOPTION_EDIT_BUTTON_2 = "水平偏移",
	BTNOPTION_EDIT_BUTTON_3 = "垂直偏移",

	BTNOPTION_EDIT_CHECK_1 = "Up Clicks",
	BTNOPTION_EDIT_CHECK_2 = "Down Clicks",
	BTNOPTION_EDIT_CHECK_3 = "法术计数",

	BAR_EDIT_ADD = "添加",
	BAR_EDIT_REMOVE = "删除",
	BAR_EDIT_BARLINK = "动作条链接",
	BAR_EDIT_NAME = "动作条名称",

	BAR_EDIT_BUTTON_1 = "缩放",
	BAR_EDIT_BUTTON_2 = "形状",
	BAR_EDIT_BUTTON_3 = "列数",
	BAR_EDIT_BUTTON_4 = "层级",
	BAR_EDIT_BUTTON_5 = "透明度",
	BAR_EDIT_BUTTON_6 = "条件透明",
	BAR_EDIT_BUTTON_7 = "弧起点",
	BAR_EDIT_BUTTON_8 = "弧长度",
	BAR_EDIT_BUTTON_9 = "预设弧",
	BAR_EDIT_BUTTON_10 = "水平间距",
	BAR_EDIT_BUTTON_11 = "垂直间距",
	BAR_EDIT_BUTTON_12 = "水平和垂直间距",
	BAR_EDIT_BUTTON_13 = "按钮数量",
	
	BAR_MESSAGE = "单击/右击/鼠标滚轮调整：|cffffffff",

	BAR_EDIT_BUTTON_TEXT_1 = "缩放",
	BAR_EDIT_BUTTON_TEXT_2 = "形状",
	BAR_EDIT_BUTTON_TEXT_3 = "列数",
	BAR_EDIT_BUTTON_TEXT_4 = "框体层级",
	BAR_EDIT_BUTTON_TEXT_5 = "透明度",
	BAR_EDIT_BUTTON_TEXT_6 = "透明变化条件",
	BAR_EDIT_BUTTON_TEXT_7 = "弧起点",
	BAR_EDIT_BUTTON_TEXT_8 = "弧长",
	BAR_EDIT_BUTTON_TEXT_9 = "预设弧形",
	BAR_EDIT_BUTTON_TEXT_10 = "水平间距",
	BAR_EDIT_BUTTON_TEXT_11 = "垂直间距",
	BAR_EDIT_BUTTON_TEXT_12 = "水平和垂直间距",
	BAR_EDIT_BUTTON_TEXT_13 = "按钮数量",

	CHECK_101 = "启用暴雪主动作条",
	CHECK_102 = "启用按钮鼠标提示",
	CHECK_103 = "战斗中隐藏提示",
	CHECK_104 = "显示热键文字",
	CHECK_105 = "显示宏文本",
	CHECK_106 = "显示施法计数文本",
	CHECK_107 = "启用右键拖拽复制按钮功能",
	CHECK_108 = "允许Macaroon移动背包",
	CHECK_109 = "锁定按钮",
	CHECK_110 = "Shift拖动按钮",
	CHECK_111 = "Ctrl拖动按钮",
	CHECK_112 = "Alt拖动按钮",
	CHECK_113 = "冷却计时文本",
	CHECK_114 = "Buff/Debuff计时器文本",
	CHECK_115 = "Buff/Debuff高亮",
	CHECK_116 = "启用按下点击事件",

	SLIDER_1 = "背包栏水平偏移",
	SLIDER_2 = "背包栏垂直偏移",
	SLIDER_3 = "背包栏缩放",
	SLIDER_4 = "剩余背包空间",
	SLIDER_5 = "冷却计时透明度",
	SLIDER_6 = "宠物自动施法透明度",
	SLIDER_7 = "条件透明改变渐变速度",
	SLIDER_8 = "粘附精度",
	
	FLOAT_EDITORS = "浮动编辑器窗口",
	ANIMATED = "动画显示菜单",

	CHECK_MACRO = "将注释显示\n为鼠标提示",

	EMPTY_BUTTON = "空按钮",

        MINIMAP_CHECK = "小地图按钮",
	MINIMAP_TOOLTIP0 = "Macaroon\n",
	MINIMAP_TOOLTIP1 = "|cffffffff右击|r打开迷你菜单\n\n|cffffffff单击|r开启动作条设置模式 \n|cffffffffShift+点击|r开启按键绑定模式\n|cffffffffAlt+点击|r开启按钮设置模式\n|cffffffffCtrl+点击|r打开主设置窗口\n\n输入|cffffffff/mac|r查看命令行选项",
	MINIMAP_TOOLTIP2 = "\n按钮锁定",

	MINIMAP_ACTION_1 = "按钮锁定",
	MINIMAP_ACTION_1_FUNC = "ButtonLock", -- 函数调用指向，请不要翻译，保持原英文
	MINIMAP_ACTION_2 = "按钮编辑",
	MINIMAP_ACTION_2_FUNC = "ButtonEdit", -- 函数调用指向，请不要翻译，保持原英文
	MINIMAP_ACTION_3 = "动作条编辑",
	MINIMAP_ACTION_3_FUNC = "ConfigBars", -- 函数调用指向，请不要翻译，保持原英文
	MINIMAP_ACTION_4 = "热键编辑",
	MINIMAP_ACTION_4_FUNC = "ButtonBind", -- 函数调用指向，请不要翻译，保持原英文
	MINIMAP_ACTION_5 = "主设置",
	MINIMAP_ACTION_5_FUNC = "OpenMainMenu", -- 函数调用指向，请不要翻译，保持原英文
	MINIMAP_ACTION_6 = "创建动作条",
	MINIMAP_ACTION_6_FUNC = "CreateNewBar", -- 函数调用指向，请不要翻译，保持原英文
	MINIMAP_ACTION_6_ARG = "bar", -- 函数参数，请不要翻译，保持原英文
	MINIMAP_ACTION_7 = "删除动作条",
	MINIMAP_ACTION_7_FUNC = "DeleteBar", -- 函数调用指向，请不要翻译，保持原英文

	BINDFRAME_BIND = "绑定",
	BINDFRAME_LOCKED = "已锁定",

	BINDINGS_LOCKED	= "该按钮的热键已被锁定\n单击按钮解锁。",

	BARTOOLTIP_1 = "开",
	BARTOOLTIP_2 = "关",
	BARTOOLTIP_3 = "缩放：",
	BARTOOLTIP_4 = "层级：",
	BARTOOLTIP_5 = "透明度",
	BARTOOLTIP_6 = "条件透明：",
	BARTOOLTIP_7 = "形状：",
	BARTOOLTIP_8 = "列数：",
	BARTOOLTIP_9 = "弧起点：",
	BARTOOLTIP_10 = "弧长：",
	BARTOOLTIP_11 = "水平间距：",
	BARTOOLTIP_12 = "垂直间距：",
	BARTOOLTIP_13 = "粘附：",
	BARTOOLTIP_14 = "显示空格：",
	BARTOOLTIP_15 = "自动隐藏",
	BARTOOLTIP_16 = "目标",
	BARTOOLTIP_17 = "|cffffffff当前状态：|r",
	BARTOOLTIP_18 = "|cffffffff激活的状态：|r",
	BARTOOLTIP_19 = "|cffffffff按钮：|r",
	BARTOOLTIP_20 = "点：",
	BARTOOLTIP_21 = "水平：",
	BARTOOLTIP_22 = "垂直：",

	BARTOOLTIP_23 = "\n|cff00ff00当前动作条|r\n",
	BARTOOLTIP_24 = "|cffffffff单击|r在已激活的状态间循环",

	BARTOOLTIP_25 = "\n|cffffffff单击|r选择动作条",

	BARTOOLTIP_26 = "|cffffffff右击|r开启动作条编辑器",
	BARTOOLTIP_27 = "|cffffffff中键点击|r启用隐藏的状态",

	BARTOOLTIP_28 = "|cffffffff单击|r提高当前值",
	BARTOOLTIP_29 = "|cffffffff右击|r降低当前值",
	BARTOOLTIP_30 = "|cffffffff鼠标滚轮|r提高/降低参数",
	BARTOOLTIP_31 = "\n要退出数值设置模式请|cffffffff中键点击|r\n或将|cffffffff鼠标指针|r移出动作条框体",

	KEYBIND_TOOLTIP1 = "\n按下某个键将其绑定到|cff00ff00%s ",
	KEYBIND_TOOLTIP2 = "单击锁定该%s的热键\n按|cfff00000ESC|r清除该%s当前的热键",
	KEYBIND_TOOLTIP3 = "\n|cffffffff当前热键：|r|cff00ff00",
	KEYBIND_NONE = "无",

	BUTTONEDIT_TOOLTIP1 = "单击改变按钮类型\n右击设置|cff00ff00按钮",
	BUTTONEDIT_TOOLTIP2 = "循环按钮类型",

	BARSHAPE_1 = "条形",
	BARSHAPE_2 = "圆形",
	BARSHAPE_3 = "圆形+1",

	BARSTATE_1 = "翻页动作条",
	BARSTATE_2 = "姿态",
	BARSTATE_3 = "宠物",
	BARSTATE_4 = "潜行",
	BARSTATE_5 = "反应",
	BARSTATE_6 = "战斗",
	BARSTATE_7 = "队伍",
	BARSTATE_8 = "控制",
	BARSTATE_9 = "Alt键",
	BARSTATE_10 = "Ctrl键",
	BARSTATE_11 = "Shift键",
	BARSTATE_12 = "自定义状态",

	BARSTATE_AH = "自动隐藏",
	BARSTATE_SG = "显示空格",
	BARSTATE_ST = "粘附",
	BARSTATE_HD	= "隐藏",

	TEXTEDIT_NAME = "动作条名",
        TEXTEDIT_TARGET = "动作条目标：",
        TEXTEDIT_LSTATE = "状态",
        TEXTEDIT_LTO = "链接到",
        TEXTEDIT_BSTATE = "动作条状态",
        TEXTEDIT_REMAP = "重映射到：",
        TEXTEDIT_CUSTOM = "自定义状态",

	ALPHAUP_NONE = "无",
	ALPHAUP_BATTLE = "战斗",
	ALPHAUP_MOUSEOVER = "鼠标指向",
	ALPHAUP_BATTLEMOUSE = "战斗+鼠标指向",
	ALPHAUP_RETREAT = "脱离战斗",
	ALPHAUP_RETREATMOUSE = "脱离战斗+鼠标指向",

	ARC_PRESET_1 = "顶弧",
	ARC_PRESET_2 = "底弧",
	ARC_PRESET_3 = "左弧",
	ARC_PRESET_4 = "右弧",
	ARC_PRESET_5 = "整圆",

	STATES = {
		homestate = "普通",
		laststate = "你不应该看到！",
		pagedbar1 = "第1页",
		pagedbar2 = "第2页",
		pagedbar3 = "第3页",
		pagedbar4 = "第4页",
		pagedbar5 = "第5页",
		pagedbar6 = "第6页",
		stance0 = "姿态0",
		pet1 = "宠物",
		pet2 = "无宠物",
		stealth1 = "潜行",
		reaction1 = "敌对",
		combat1 = "战斗",
		group1 = "队伍：小队",
		group2 = "队伍：团队",
		possess1 = "控制",
		alt1 = "Alt按下",
		ctrl1 = "Ctrl按下",
		shift1 = "Shift按下",
		custom = "自定义状态",
	},

	--class specific state names
	DRUID_STANCE0 = "人形",
	DRUID_PROWL = "潜行",
	PRIEST_HEALER = "治疗形态",
	ROGUE_ATTACK = "攻击",
	WARLOCK_CASTER = "人形态",

	PETATTACK = "攻击",
	PETFOLLOW = "跟随",
	PETSTAY = "停止",
	PETAGGRESSIVE = "主动",
	PETDEFENSIVE = "防御",
	PETPASSIVE = "被动",

	CUSTOM_OPTION = "\n\n要设置自定义状态，请添加一串（/mac state custom <姿态字串>）由英文分号间隔的姿态字串\n\n|cff00ff00例如：|r [actionbar:1];[stance:1];[stance3,stealth];[mounted]\n\n|cff00ff00注意：|r字串内的第一个状态会被认为是\“基本状态\”。如果状态管理器混乱了，这就是该动作条默认处于的状态。",

}

-- Some languages Blizzard is now making a distinction on class names based on gender.
if (UnitSex("player") == 2) then

	MACAROON_STRINGS.DRUID = "德鲁伊"
	MACAROON_STRINGS.WARRIOR = "战士"
	MACAROON_STRINGS.ROGUE = "潜行者"
	MACAROON_STRINGS.PRIEST = "牧师"
	MACAROON_STRINGS.HUNTER = "猎人"
	MACAROON_STRINGS.PALADIN = "圣骑士"
	MACAROON_STRINGS.SHAMAN = "萨满祭司"
	MACAROON_STRINGS.MAGE = "法师"
	MACAROON_STRINGS.WARLOCK = "术士"
else

	MACAROON_STRINGS.DRUID = "德鲁伊"
	MACAROON_STRINGS.WARRIOR = "战士"
	MACAROON_STRINGS.ROGUE = "潜行者"
	MACAROON_STRINGS.PRIEST = "牧师"
	MACAROON_STRINGS.HUNTER = "猎人"
	MACAROON_STRINGS.PALADIN = "圣骑士"
	MACAROON_STRINGS.SHAMAN = "萨满祭司"
	MACAROON_STRINGS.MAGE = "法师"
	MACAROON_STRINGS.WARLOCK = "术士"
end

BINDING_HEADER_MACAROON_BARS = "Macaroon"

end